import request from '@/utils/request'

// 登录接口
export const userLoginService = ({ username, password }) => {
  return request.post('/op/login', { username, password })
}

// 获取用户的策略列表
export const userGetPoliciesService = (id) => {
  return request.get(`/op/identity/policies/${id}`)
}